As the bridge is of negligible length only the length of the vehicles is of concern here. And the distance that should be left after each vehicle should also be taken into account.
Total length needed for each truck = 30
Total length needed for each car = 20
average length of a vehicle= 25 (as no of each vehicle is not given. makes no sense! agreed :-) ).
speed = distance / time
total distance = no of vehicles* 25 and time = 1hr
25*n / 1= 36*1000
n = 36000/25 = 1440