Solving for First Term and Common Difference