Answer
$Cost$ = \$725
Work Step by Step
Area of a square: $A$ = $s$$^{2}$
Therefore:
$A$ = (5 yd)$^{2}$
$A$ = 25 yd$^{2}$
The total cost per square yard is \$23 + \$6. Therefore, the carpet is \$29 per square yard.
$Cost$ = $C$
$C$ = 25(\$29)
$C$ = \$725