When it asks to solve for h, they just want you to isolate the h from everything else:
S = 2Plr(h + r)
First, divide both sides by 2Plr:
[tex]\frac{S}{2Plr}[/tex] = h + r
Now, subtract r from both sides:
[tex]\frac{S}{2Plr}[/tex] - r = h
Therefore, h = [tex]\frac{S}{2Plr}[/tex] - r.
Hope this helps! :)