Convert the speeds to meters per second to get 10 m/s for the first train and 15 m/s for the second train. Let the length of the first train be L, so the second train's length is L/2; the total distance covered when passing is L plus L/2, which is 1.5L. Using the relative speed for opposite directions, which is 10 plus 15 equals 25 m/s, the equation is 1.5L equals 25 times 12 seconds, solving to a first train length of 200 meters. To find the platform length, convert 1.5 minutes to 90 seconds, so the distance covered is 10 m/s times 90 seconds, totaling 900 meters; subtracting the train's 200 meter length leaves a platform length of 700 meters.