The first term of an AP is -5 and the last term is 45. If the sum of the terms of the AP is 120