How long does it take to become a mechanical engineer?