(a) The distance of the image of the pencil from the lens is determined as 6 m.
(b) The image formed is upright, because it is magnified.
The distance of the image formed is determined by applying lens formula as shown below;
1/f = 1/v + 1/u
1/v = 1/f - 1/u
1/v = 1/2 - 1/3
1/v = (3 - 2)/6
1/v = 1/6
v = 6 m
M = v/u
M = 6/3
M = 2
A convex lens forms an upright and magnified image.
Learn more about image distance here: https://brainly.com/question/2854969
#SPJ1