This is a generalised approach for most front wheel drive vehicles.
The front suspension strut needs to be unbolted from the control arm before the driveshaft can be removed.
First off, loosen the driveshaft nut(large nut in the centre of the wheel). These are very tight and usually require at least a 30 or 32mm deep wall socket with a torque wrench to remove. You will probably need some help as the car will move as soon as you put force on that nut. Best solution is have someone step on the brakes or put the car in top gear with the parking brake engaged.(This will not work on an automatic)
With the driveshaft nuts removed put the vehicle on axle stands so that the front wheels are clear off the ground. Do not use 2 jacks or bricks to do this. Be sure to chock the rear wheels and engage the parking brake.
Remove the front wheels. If you forgot to loosen the wheel nuts before jacking the car up, once again have your unfortunate assistant step on the brakes so you can loosen them.
Have a look at the lower control arm (Sort of a triangular shaped arm between the body of the car and the hub carrier. It connects to the hub carrier by way of a ball joint. If you're lucky the ball joint will be bolted to the control arm which is easy to remove, else it has to be undone by way of the single bolt on the hub carrier. The ball joint is difficult to remove at this point and needs a special tool to force it out of its seat. Hammering is definately not recommended and levering against the CV joint can cause damage to the CV.
Once done the hub carrier can be pulled away from the car to give you the free space to pull the outer end of the driveshaft out of the hub carrier. The inner end of the driveshaft clips into the gearbox and can be pulled or levered out with some effort.(hopefully the gearbox has been drained before this point as there may be some spillage of gearbox fluid/oil as soon as the shaft is removed from the gearbox).) Once the drive shafts are free the engine/gearbox combination can be removed. Reassembly is the reverse of removal, but remember to torque the driveshaft nut to the correct setting with a torque wrench. After reassembly have the wheel alignment set.
Hopefully I dont step on any copyright toes. Below is from a Haynes workshop manual.