The sum of first 5 terms of an AP is 45 and that of its first 15 terms is 435. Find the sum of first n terms of this AP.