1. Left driveshaft: Pry the inboard joint (A) from the differential case with a prybar. Right driveshaft: Drive the inboard joint (A) off of the intermediate shaft with a drift and hammer. Remove the driveshaft as an assembly. Do not pull on the driveshaft (B), because the inboard joint may come apart. Draw the driveshaft straight out to avoid damaging the oil seal.

Left driveshaft
Right driveshaft