Solve for h s=2prh+2pr^2