In a certain arithmetic sequence, the first term is denoted as a and the common difference is denoted as d.
1. The second term of the sequence is 10.
2. The fifth term of the sequence is 22.
What is the value of the first term a?