i just want to implement traffic calculator like this

i want to implement Google map traffic calculator how plz help me

i want like someone select a vehicle from drop down and in second and third drop down pickup and drop off location and when click to submit button

a map should be display and miles with fare should be display