In order to draw the ray diagram, let's draw two rays: one parallel to the lens axis, which will pass through the focus of the lens, and one passing through the center of the lens.
Drawing the ray diagram of this question, we have:
In order to calculate the magnification, first let's calculate the image position:
The magnification is given by: