Measure the length of the rafter on each side with a measuring tape. Mark the center of the rafter on each side with a pencil. Measure the distance between the center marks.
Cut a section of 2-by-6-inch pressure-treated lumber a length equal to the distance between the center marks with a circular saw. Place the lumber section against one side of the rafter sections, so the bottom edge meets the center marks on the rafters. Mark the lumber section along the bottom edge of the rafters to create a diagonal line at each end.
Miter the lumber section along the diagonal lines with a miter saw. Place the lumber section, so the mitered ends meet the bottom edge of the rafters. Using a drill equipped with a screwdriver bit, insert 6-inch wood screws to attach the lumber section to the bottom of the rafters.