I think that you mean just add another 2x4 on the side of the rooted
boards, right? Do we need to treat the rot?
If you do not understand loads and beams, sister them with the same size as
the existing member.
If the joists are 2x8 use a 2x8. You may waste a little wood but you can't
go wrong doing it this way.
Please come visit www.househomerepair.com
Click to see the full signature.