At a train station, freight trains depart at a rate of 2 trains every 30 minutes and passenger trains depart at a rate of 1 train every 90 minutes. At this rate, how many total trains will depart from the station in a 12 hour period?