PLEASE HELP!!! (20 POINTS)

Find the sum of an arithmetic series with the given number of terms a1, and an

27.) 10 terms, a1=4, a10=31

28.) 15 terms, a1=17, a15=129