the no of ways in which the E and F are together = 2(5!) ways or 240 so the number of ways the E and F are apart are 720 - 240 or 480 ways.
You can ask a new question or answer this question.