How many terms of the AP 1,4,7 are needed to make the sum 51

Rashmi N Rao's image