A spherical mirror forms an erect image three times the linear size of the object. If the distance between the object and the image is 80 cm, the focal length of the mirror is
A. 15 cm
B. −15 cm
C. −30 cm
D. 40 cm