Suppose the one on the left is L 1.
Then connect the left end of L 1 and the right end of L2 in parallel to meet the conditions of controlling two lamps, and connect the ammeter with L 1 in series to measure L 1.
The second line connects the left end of L2 and the left end of the power supply to form a loop.