Using a system of equations, it is found that the trains will be side by side in 15 seconds.
<h3>What is a system of equations?</h3>
A system of equations is when two or more variables are related, and equations are built to find the values of each variable.
In this problem, the <em>equations </em>are:


They will be side-by-side when:

Hence:




The trains will be side by side in 15 seconds.
More can be learned about system of equations at brainly.com/question/24342899