let h is the number of hoodies sold and b is the number of beanies sold
we have h+b=25 (1) and 20h+12b=380 or deviding both sides by 4 --->>> 5h+3b=95 (2)
from the (1) we get h=25-b and plugging this value to (2) we get 5(25-b)+3b=95 --->>> 125-5b+3b=95
and 125-95=5b-3b --->>> 30=2b -->>> b=30/2 = 15 beanies
so Azalia sold 15 beanies (and 10 hoodies)