There are two ways to do it. First you use a y not a t. On the pvc fitting you can cut 2 pieces of pvc pipe and glue them into fitting. Measure the pvc pipe and fitting and mark where you want to cut in and cut 1/4″ less plus are minus, use 2 fernco bands and put pipe together. You also can use a nohub y and put in the same way.
Art retired plbg