The pupils from the Queen Elizabeth's Grammar school have qualified for the world final of an F1 engineering competition.