Answer:
17 minutes
Explanation:
Let A be the person who takes 1 min,
B who takes 2 mins, C who takes 7 mins and D who takes 10 mins
A and B cross the river in 2 mins, A comes back in 1 min
C and D cross the river in 10 mins, B comes back in 2 mins
A and B cross the river in 2 mins
Total time:
2 + 1 + 10 + 2 + 2 = 17 minutes