The number of cows a farmer has on his farm over several years can be modeled by an arithmetic sequence. During the 2nd, 5th, and 7th years, he has 30, 39, and 45 cows, respectively. How many cows did the farmer have in his first year on the farm?