keeping in mind that there are 3 feet in 1 yard, and there are 36 inches in 1 yard, let's convert the feet to yards and the inches as well to yards.
[tex]\bf 17\underline{ft}\cdot \cfrac{yd}{3\underline{ft}}\implies \cfrac{17}{3}yd\qquad\qquad and\qquad\qquad 2\underline{in}\cdot \cfrac{yd}{36\underline{in}}\implies \cfrac{1}{18}yd\\\\
-------------------------------\\\\[/tex]
[tex]\bf \textit{so the slab will be }17ft\cdot 17ft\cdot 2in\implies \cfrac{17}{3}yd\cdot \cfrac{17}{3}yd\cdot \cfrac{1}{18}yd
\\\\\\
\cfrac{17\cdot 17\cdot 1}{3\cdot 3\cdot 18}yd^3\implies \stackrel{volume}{\cfrac{289}{162}yd^3}\\\\
-------------------------------\\\\
\textit{now, we know each }yd^3\textit{ costs 40 bucks}\qquad \stackrel{total~price}{40\cdot \cfrac{289}{162}}
\\\\\\
\cfrac{5780}{81}\implies 71\frac{29}{81}\impliedby \textit{about 71 bucks and 36 cents}[/tex]