Step-by-step explanation:
x = 51.5
I'm am not sure about it since in the case it is not given that how much miles he walk in total so.
I just added the no. of miles he walk in part A and B so I got x = 51.5
hope this answer helps you dear...take care and stay safe!