Solve for t A=p+Prt