これが模範解答ね
https://i.imgur.com/aPqpvlJ.jpg