excercise 1

answer, square, average.