Question 7
A group of 7 people (A, B, C, D, E, F, G) is to be seated in a row for a photograph.
The following conditions must be satisfied:
• A and B must always sit next to each other.
• D and E cannot sit next to each other.
What is the total number of valid arrangements under these conditions?