Solution

My final solution!