Five yards of fabric and three spools of thread cost
$40.12. Two yards of the same fabric and ten spools
of the same thread cost $23.88. Find the cost of a
yard of fabric and the cost of a spool of thread.