A compound lens is characterised not only by an effective focal length (EFL) but also by the positions of front and back principal planes (FPP, BPP). The latter do not usually coincide with the vertices of the initial and final refracting surfaces. Consequently you require 3 pairs of object and image positions to determine all 3 unknown parameters (EFL, FPP, BPP).
The effect on ray tracing of the separation of the principal plane into two is that the height and angle at which a ray is incident on the 1st principal plane are transferred directly to the 2nd principal plane, as though the intervening space does not exist.
It is straightforward to construct object and image positions for the compound lens using the intermediate image formed by the first lens $L_1$. This image becomes the object for the second lens $L_2$. The method for constructing the final image formed by two thin lenses is illustrated in the diagram below.
Ray 1 from the object is parallel to the axis. Is refracted at lens $L_1$ and passes through the back focal point $F_1'$ of this lens. Ray 2 passes through the pole (= vertex) of this lens and is not refracted. The intersection of rays 1 & 2 gives the position of the intermediate image $I'$ of object $O$ formed by lens $L_1$.
Now trace ray 3 from $O$ through the front focal point $F_1$ of lens $L_1$. This is refracted parallel to the optical axis. When it reaches lens $L_2$ it is refracted through the back focal point $F_2'$ of this lens. Trace ray 4 back from $I'$ through the pole of lens $L_2$. Where rays 3 & 4 intersect is the final image point $I$.
This method can of course be extended for a system of any number of thin lenses or refracting surfaces, constructing the intermediate image points for each lens or surface in the order in which they are encountered.
The procedure for obtaining the 3 unknown parameters of the compound lens is then as follows :
Draw a ray diagram for any 2 object points $O_1, O_2$ the same height above the optical axis. Construct the corresponding image points $I_1, I_2$ for the whole compound lens system using the method given above.
Rays from $O_1, O_2$ are parallel to the axis so they are refracted at the same point on the back principal plane BPP and both pass through the back focal point $F_2$ before reaching $I_1, I_2$. Extend the line $I_1 I_2$. Where this line intersects the principal axis is the back focal point $F_2$ (BFP). Where this line intersects the line $O_1 O_2$ extended is the location of the back principal plane (BPP) which intersects the axis at pole $P_2$. The distance $P_2 F_2$ is the effective focal length $F$ of the compound lens.
Use the same procedure in reverse to find the position of the front principal plane :
Construct any 3rd image point $I_3$ the same height as $I_1$ (or $I_2$) and on the same side of the axis. Construct the image(s) of $I_3$ formed by the lenses in reverse order $L_2, L_1$ - hence locate final image point $O_3$ corresponding to $I_3$.
Extend line $O_1 O_3$. Where it intersects the axis is the position of the front focal point (FFP) $F_1$. Where it intersects the line $I_1 I_3$ is the location of the front principal plane, which intersects the axis at pole $P_1$. The distance $F_1 P_1$ is again the effective focal length $F$. It should be the same as found in step 2.
To construct ray diagrams for the compound lens start with the known positions of front and rear lenses $L_1, L_2$. The positions of the front and rear principal planes $P_1, P_2$ of the compound lens are inserted relative to positions of $L_1, L_2$. Finally the focal points $F_1, F_2$ are positioned at the same distance $F$ in front of $P_1$ and at the back of $P_2$. In subsequent ray tracing the points $L_1, L_2$ are ignored.