Potential energy U varies with distance x as U=A x1/2X2+B where A and B are constant. The dimensional formula for A×B is
M1L72T−2
M1L112T−2
M1L52T−2
M1L92T−2
X2 has dimension of L2then ML2T−2=A×L12L2A=ML727−2A×B=ML112T−2