Step 1: Write down what is given.
The face is $25\text{ cm}$ in front of the mirror, so $u = -25\text{ cm}$, and the image is erect and $1.5$ times bigger, so $m = +1.5$.
Step 2: Use the image distance form of magnification instead.
For mirrors, $m = -\dfrac{v}{u}$, so we can find $v$ directly: \[ v = -m u = -(1.5)(-25) = 37.5\text{ cm} \]
Step 3: Feed this value of $v$ into the mirror formula.
\[ \frac{1}{f} = \frac{1}{v} + \frac{1}{u} = \frac{1}{37.5} + \frac{1}{-25} = \frac{2}{75} - \frac{3}{75} = -\frac{1}{75} \] So $f = -75\text{ cm}$.
Step 4: Confirm the answer.
The negative sign is expected since a shaving mirror that magnifies an object held close to it is concave, and the number matches what we need.
\[ \boxed{f = -75\text{ cm}} \]