Pls help asap!! due in a hour:( thanks in advance

Answer: 8oz of the 20% and 12oz of the 70%
Step-by-step explanation:
(20*x) + (70*(20-x)) / 20 = 50
(20x +1400-70x) / 20 =50
20x +1400-70x = 1000
50x=400
x=8
20-8=12