Solve for S SA=pirs+pir^2