How to do the 5:2 diet

The 5:2 diet is a popular intermittent fasting method.