Solve for t A=P+Prt