A Practical Guide to Quantum Machine Learning and Quantum Optimisation