Two trains $A$ and $B, 125 \mathrm{~m}$ and $100 \mathrm{~m}$ long are moving in opposite dircctions on parallcl tracks. The velocity of train $B$ is threc times that of train $A$. The trains take 4 sec to pass cach other calculate the velocity of cach train.