Measure the distance between the outside edges of your jack studs. Cut two 2-by-4s to this length. Cut a piece of 1/2-inch plywood to the width and length of the 2-by-4s and sandwich it between them. Screw the three pieces of wood securely together for your header.
Set the sandwiched boards horizontally on top of the jack studs in such a way that one 2-by-4 faces outside and the other faces in. Use a mallet to push the header into place if necessary. Toenail the jack studs to the header, driving screws up diagonally through the two pieces of wood. Toenail the king studs on either side to the header as well.
Measure the distance between the header and the wall-top plate. Cut two 2-by-4s to this length. Insert them vertically between the header and the wall-top plate to serve as cripple studs. Toenail them to the beams both above and below.