The total number of yards of fabric is y and the amount of costumes is x
If you have an equation in the form::
And you know that for 3 elf costumes she used 62 yards of fabric, you have that when x = 3, y = 62. We put this into the expression above and solve for k: