Solution:
A convex lens made of five different materials will form 4 different images because it will have five different refractive indices. Due to different refractive indices, the materials will have different focal lengths. Hence different images will be formed at different places according to the focal length of the respective material.
Hence the material will form one image for each refractive index or focal length.