Object distance (u) = -25 cm (negative because the object is in front of the mirror) Image distance (v) = +5 cm (positive because the image is behind the convex mirror)
Using 1f = 1u + 1v
1f = 1−25 + 15
f = 254 = 6.250cm.