Let
x-------> yards of fabric used to make pillows
y-------> yards of fabric used to make curtains
T------> total yards of fabric
R-------> remaining yards of fabric
we know that

we have

substitute in the formula above



therefore
the answer is
the remaining of fabric is
