Distance is the result of three factors in the golf swing.
The first is the obvious: pure club-head speed. Greater club-head speed will hit longer shots.
The second is the club's pressure against the ball. For maximum distance the club must hit the back of the ball while traveling on a line to the target with the clubface perpendicular to the target line. That causes pressure against the back of the ball. If the club strikes the ball on a line not directed toward the target, or if the clubface is at an angle, it will be a glancing blow and not all of the club's speed will be transferred to the ball. This effectively diminishes the speed of the club at impact. Greater club-head speed is of little value if the swing path is across the target line.
The third factor is the ball being struck in the middle of the clubface, as opposed to the toe or heel, top or bottom. For greatest distance you need club-head speed, the club going toward the target with the face square, and a solid hit. How do you get all of that? It's really quite simple.
To increase club head speed, move your feet and knees more quickly to create a quicker weight transfer to your back foot and then from the back foot to the front foot, with completely relaxed shoulders. You only need to move your feet a little more quickly to create quicker arms and therefore a great deal more club-head speed. The quickness of the back swing and the through swing is the direct result of the quickness of your feet and knees and the relaxation in your shoulders. That