Solve for p 12+p=50