Solve for P (P)=(2L+2W)