Answer: The answer is

Step-by-step explanation: Given that in a science project, Ayala and Sam were partners. They both spent different duration of time to complete the project as follows -
Time spent by Ayala on the project is

and time spent by Sam on the project is

Therefore, the time spent by Ayala and Sam altogether is given by

Thus, they work altogether for
