Set the blade of your table saw all the way up so you can square the widest part of the blade.
Attach a miter gauge to your table saw. Carefully align the gauge to make it square. Place one side of a 45-degree drafting triangle against the blade. Align your miter gauge to the other side for a perfect 45-degree miter.
Lower the blade to the correct height you need to make the cut.
Attach an auxiliary rip fence onto the miter gauge by screwing it into the two holes of the miter gauge. Use short screws so the ends of the screws do not penetrate all the way through the wood. The right side of the fence should run a few inches past the saw blade. This keeps the wood from slipping if you need to make multiple cuts.
Clamp a small 2 by 4 wood block onto the fence so that one end of your wood piece rests against it. This helps to stabilize the wood to keep it from slipping.
Measure and mark the piece of wood you need to cut. The bottom edge of the wood is placed close to the blade.
Turn on the saw and allow it to warm up for a few minutes. Push the wood piece through the saw blade until the entire thing is cut.
Turn off the saw and wait for the blade to completely stop before removing your wood piece.