May June 2017, D Math 4024, 12, Solution by Ferhan Mazher