The final goal of Tasks 1-3 is to create a HA Mesos cluster using Vagrant while Tasks 4-5 imply usage of Docker to run micro applications. So best starting point is to get familiar with mentioned technologies and eventually to find a way to automate the whole process in the end.
Download and install VirtualBox and Vagrant from the links provided. Once finished proceed to Task 1