Alex buys 5.5 yards of blue fabric and 4.5 yards of red fabric. If the blue and red fabric cost the same amount per yard, and alex pays $74 for all of the fabric, what is the cost per yard?