Leeds struck twice in four minutes in the first half at the start of a vital 3-1 win against Nottingham Forest.