In arithmetic sequence 7,10,13,16,..., which term is 40?

show how you solve please ​