Answer:
3 1/13 hours
Explanation:
Lets create a variable:
Samantha and Kylee together (NOT the answers) =

Now lets create an equation:

Let's look at the time Samantha and Kylee takes to decorate the cake by themselves:
Samantha: 5 hours
Kylee: 8 hours
Let's create an equation to find the answer now:

Note that now that's its basically algebra, change the variable to
like this:

Now let's find the LCM (Lowest Common Multiple) of 5, 8, and
which is 40
.




= 3 1/13 hours
Please note that the step where it swapped 13
and 40 is only my way, it is not necessary, it's just my own comfort.