Brexit: What happens next?

MPs have approved a Government motion which aims to extend the Brexit process. So what are the next steps in leaving the European Union?