A finished it in one day first 1/5.
The cooperation between Party A and Party B is completed every day1/5+1/7 =12/35.
So the result is (1- 1/5) divided by 12/35=7/3 days.