making the figures smaller and make more space for text for problem 4