Measure the dimensions of the window opening while the existing windows are still in place, along the height and width, in the tracks where the sashes sit. These are the proper measurements for the replacement window unit. Leave the old window in place until you have the new ones in hand.
Remove the trim from the interior edge of the window opening, using your hammer and pry bar. Don't break the trim as you remove it. Pull out the sashes.
Set the new window unit on the bottom span of the opening. Push the top up and in, until it's stopped by the trim around the outside of the opening. Hold your level on the unit and shim around it until it's level and square.
Secure the unit with mounting screws, shooting them outward through the screw holes in the sides with your screw gun, and into the wall frame along the edges of the opening.
Tuck fiberglass insulation into the spaces around the edges of the window unit on all sides, closing off the spaces.
Put the trim back in, using your hammer and finishing nails.
Caulk around the trim where it meets the wall and the window unit, using a caulk gun.