To solve this question we have to find the rate of each one
∵ Jane can detail a car in 35 minutes
∴ Her rate = 1/35
∵ Sally can do the same job in 40 minutes
∴ Her rate = 1/40
∵ They are working together to do the same rate
Assume that they will work for t minutes, then

Now we will add the 2 fractions

By using cross multiplication

Divide both sides by 75

They will take 56/3 minutes t finish the job together
You can write it as a mixed number 18 2/3 minutes