Math Written problem 3 and 4