Nick rides his bike at a constant rate. He is able to cover a distance (d) of 30 kilometers in 2 hours (t). Write an equation in the form of d=rt that represents the relationship between distance (d) and time (t), where r is the constant of proportionality.