I will suggest that you read the question twice, try to interpret it and identify the given quantities as well as the quantities to be found.
Here, f = 25cm, u = ?, v= 75cm.
Now, 1/f = 1/v - 1/u
or, 1/u = 1/v - 1/f = 1/75 - 1/25 = -2/75 cm
or, u = -37.5 cm
hence the object is placed 37.5 cm to the left of the lens i.e. in the direction opposite to that of incident rays.
Also, m = v/u = I /O
or, I = (v/u) x (O) (to calculate size of the image , size of the object should be known, sign of the image tells about the nature of the image)
Hope this helps.