apple pie: pie (with a top crust) containing sliced apples and sugar
pie: dish baked in pastry-lined pan often with a pastry top
mechanical engineering: the branch of engineering that deals with the design and construction and operation of machinery