middle exam solution 4