A car in which the five teenagers were travelling in was going the wrong way down a motorway in County Kildare.