Answer:
It is correct
Step-by-step explanation:
Given dimension is: 
 Nm² kg⁻² 
 To find the dimension of the universal gravitational constant, let us state the law of universal gravitational constant. 
 "every particle attracts every other particle with a force that is directly proportional to their masses and inversely proportional to the mass between them". 
 F = 
 
F is the force 
G is the universal gravitation constant
m is the mass 
r is the distance between them
 Using the dimension;
 N = 
 
 Nm² = Gkg² 
 Unit of G = Nm² kg⁻²