You can
put this solution on YOUR website!Melanie's rate + Mellisa's rate = rate working together
(1 barn / x days + 1 barn / 2x days)
As an algebra expression:

What this says is that they can paint 3 barns in 10 days
by working together, but there is only 1 barn to paint.
I'll make a new quantity called

and I'll write

This says (1 barn/y days) = (3 barns/10 days)
Solve for

by multiplying both sides by

So, working together, they can paint 1 barn in

days