The first picture is your axle nut. Find a wrench to fit it. THe second picture is your axle which goes all the way through the hub and is the inside of the nut in pic 1. There should be a hole in the axle end that you can put a large size Phillips screwdriver or punch in.
THen turn the nut off on the other end. Easier said than done as holding the axle end can be a struggle. Put a length of pipe on the screwdriver or punch so it goes to the floor and you have something to turn against. Or put the axle in a vice.
Once the nut is off, you can pull the axle out from the speedo drive side if necessary.