Which lens can be used as a magnifying glass?

Which lens can be used as a magnifying glass? For which position of object does a convex lens form:
(a) a virtual and erect image?
(b) a real and inverted image of same size as that of object? Draw labelled ray diagrams to show the formation of the required image in each of the above two cases.

Convex lens can be used as magnifying glass.
(a) When object is between optical centre C and focus F_{1}.

(b) when object is at 2$F_{1}$.