I think you have over simplified slightly. The first equation looks okay. That will give you the image distance, that is the distance from the first lens to the first image. You do not know the distance between the lenses, so you do not know how far this image is from the second lens. Understand?