You have to implement sumPairs and sumof.
Question- Using SML writes a version of sumPairs that sums each component of the pairs separately, returning a pair consisting of the sumof the first components and the sum of the second components
fun sumPairs(nil) = 0
| sumPairs((x,y)::zs) = x + y + sumPairs(zs);
val sumPairs = fn : (int * int) list -> int
Please keep it simple and short and no copy and paste or at least help me get started?