Two thin convex lenses of focal lengths 40 cm and 24 cm have a common axis. A parallel beam enters the 40 cm lens first. The second lens is placed so that the beam comes to a sharp focus 10 cm behind the second lens. How far apart are the two lenses?