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

Rashmi N Rao's image