Remove the five screws around the camera using a Phillips #00 screwdriver.
Remember that we're removing the rear panel, so for this step, only remove screws on the appropriate side of the seam separating the rear and front panels.
The D5100 is held together by a large number of screws, which come in several sizes. Make sure to keep your screws organized so that you don't lose or misplace them!
Remove the dark orange ribbon cable attaching the rear panel to the motherboard by flipping the black plastic clasp up, away from the motherboard, and pull the cable out of its white casing in the direction of the cable.
Using the flat edge of a spudger can help with this delicate task.