Use the formula for refraction at a spherical surface:
\[
\frac{\mu_2}{v} - \frac{\mu_1}{u} = \frac{\mu_2 - \mu_1}{R}
\]
Where:
- \( \mu_1 = 1 \) (air), \( \mu_2 = 1.5 \) (glass)
- \( u = -12\ \text{cm} \) (object in front of the surface)
- \( R = +30\ \text{cm} \) (convex surface, positive R)
Substitute:
\[
\frac{1.5}{v} - \frac{1}{-12} = \frac{1.5 - 1}{30} = \frac{0.5}{30}
\Rightarrow \frac{1.5}{v} + \frac{1}{12} = \frac{1}{60}
\Rightarrow \frac{1.5}{v} = \frac{1}{60} - \frac{1}{12} = \frac{1 - 5}{60} = -\frac{4}{60}
\Rightarrow \frac{1.5}{v} = -\frac{1}{15}
\Rightarrow v = -22.5\ \text{cm}
\]
So, the image is formed at a distance of 22.5 cm from the surface on the same side as the object, and is virtual.