Since, final image is formed by lens L3 at focus. Hence, for L3, the object must be at infinity. Thus lens L2 should produce image at infinity. So for L2, its object should be at focus.
The image formed by lens L, is at 15cm on the right side of lens L1 which lies at 10cm left of lens L2, i.e., focus of lens L2.
Hence, distance between L1 and L2 = 30cm + 10cm = 40cm
As the image formed by Lens L2 lies at infinity. Then, the distance between lens L2 and L3 does not matter.
Hence, the distance between L2 and L3 can have any value.