2016 Honda Rancher Straight Axle

Hey guys very new here. Hopefully posting this right.

I have a 2016 Honda Rancher FM1. I spun the rear right side hub on the inner axle and it stripped both splines out. I have all my parts and should be able to tear into it this weekend. I have never done this before on this bike. So my question is how do I do it? Once I take both castle nuts off and both hubs will the axle pull right through from one side?

Thanks in Advance.