Hi there!
Let's take this step by step. First, we'll divide both sides by 2. Doing this gives us P/2 = L + W. Next, we'll subtract W from both sides in order to isolate L. Doing this gives us L = P/2 - W.
Hope this helps!! :)
If there's anything else that I can help you with, please let me know!