exercise 1

answer, square, average.