Answer:
If she works alone, it will take Mary 9 hours to make the costume.
Explanation:
The together rate is the sum of each separate rate.
In this problem:
Together rate: 1/6
Sam's rate: 1/x
Mary is twice as fast as Sam, so her rate is 2/x.
Then




Mary's rate
2/x = 2/18 = 1/9
If she works alone, it will take Mary 9 hours to make the costume.