Solve for t