Correct. The two trains will pass each other after 24 minutes of travel, or when t = 0.4.