Solve for r A=P+Prt for r