Image is inverted, so it is real, u and v both are negative.
Magnification is `(1)/(2)`,therefore,v=`(u)/(2)`.
Given, u=-30cm and v=-15 cm
Using the mirror formula,
`(1)/(v)+(1)/(u)=(1)/(f)`
we have, `(1)/(f)=(1)/(-15)-(1)/(30)=(1)/(10)`
`therefore` Focal length f=-10 cm