imagine you're driving a car and looking out the side (OK, image you're a passenger)

the grass by the side of the road seems to be travelling quickly, while the trees far away seem to move slower.
if you're moving a a velocity v
and the grass is d1 metres away, then trees are d2 m away.

How do I find how quikly they seem to move?