Lara bought 3 yards of fabric and a spool of thread for $28.10. If the spool of thread cost $1.25, how much did the fabric cost per yard? Write and solve an equation to answer.