A chef bought 3 bags of oranges at the supermarket and it cost her $5.82. Write an equation that can be used to express the relationship between the total cost (t) and the number of bags of oranges(b) purchased.