From the given infomation, the cost for river Y is constant, that is,
![\begin{gathered} Y=\text{ \$33+\$13} \\ Y=\text{ \$46} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/m1ivatftjj8lwf4jn9h6sstkufj1mv35e3.png)
where Y denotes the cost for river Y.
On the other hand, the cost for river Z is given by
![Z=\text{ \$5}\cdot n+\text{ \$13}](https://img.qammunity.org/2023/formulas/mathematics/college/gicfze7ee4yo3c9fczh8yv8ak5230y1beg.png)
where n denotes the number of hours and Z the cost for river Z.
Therefore, the Total cost (C) will be the sum of the cost for river Y and river Z, that is,
![C=\text{ \$46+\$5}\cdot n+\text{ \$13}](https://img.qammunity.org/2023/formulas/mathematics/college/1kmjb3tj5umeez0ep9wju3lqzk7od6rhj8.png)
which gives
![C=\text{ \$5}\cdot n+\text{ \$}59](https://img.qammunity.org/2023/formulas/mathematics/college/jbp83nfsnwn7xe643bs25ko9ly28xfg9qo.png)