First, we need to find the total fraction of her raisins she used:
1/4 + 3/8 = 2/8 + 3/8
She used 5/8 of her supply.
Knowing this:
5/8x = 5
We multiply by 8 (the LCD)
5x = 40
x = 8
Her supply was 8 pounds, and after making the food, she now has 3 pounds