The table shows the linear relationship between the number of hours, , a bicycle is rented and the total rental cost, , in dollars. Which equation represents the linear relationship between and ?
| Number of hours () | Total rental cost () |
|---|---|
| 2 | 18 |
| 4 | 26 |
| 6 | 34 |