Attach two rafter ties to a 4-by-6 beam using screws spaced evenly to attach to the floor joists on the underside of the floor.
Lift the 4-by-6 beam up to the rafter and attach the beam using the rafter ties.
Set a thick wooden beam underneath the 4-by-6, on the floor.
Set up two floor jacks, evenly spaced along the wooden beam.
Slide a steel plate underneath the floor jack.
Raise the floor jack to the 4-by-6 until the jack is tight.
Turn the jack 1/8 inch a day until the joist meets the floor material.
Measure the length of the sagging joist and have a piece of lumber cut to the same length.
Apply construction adhesive to one side of the cut piece of lumber.
Drive three nails going from the top to the bottom of the new piece of lumber every 16 inches.