Purchase a T8 ballast at a home improvement retailer. Be sure to look at the packaging on the ballast itself to make sure that it's a T8 -- with some manufacturers, you may even have to take the ballast out of the packaging to make sure it's the right type.
Cut off the ends of the yellow wires from the fixture. Join them to the red wire that comes out of your new T8 ballast by stripping the ends, wrapping the wires together and wrapping electrical tape securely around them.
Repeat Step 2 by joining one of the blue wires from your T8 to the two blue wires coming out from the fixture. Then, join the other blue wire from your T8 to the two red wires coming from the fixture. Make sure to cover all stripped wire with the electrical tape.