Let x be the amount of fabric used for one twin-size blanket and y be the amount of fabric used for one queen-size blanket.
48 x + 30 y = 366 \rightarrow equation 1
Divided by 2 gives 24 x + 15 y = 183
17 x + 30 y = 304 \rightarrow equation 2
Solving these
(24 x + 15 y = 183) \times 2
\mp 17x + \mp 30 y = 304
--------------------------------------------
48 x + 30 y = 366
\mp 17x + \mp 30y = 304
---------------------------------------
31 x = 62
x = 2
Substituting this value of x in 17 x + 30 y = 304
30 y = 304 - 34 = 270
y = 9
So, 2m of fabric is used for each twin-size blanket and 9 m of fabric is used for each queen- size balnket.