Do do this problem, you need to use the Law of Cosines!
You are trying to find length b, so
b^2 = a^2 + c^2 - 2ab cos B
b^2 = 22^2 + 28^2 - 2(22)(28) cos 34
b^2 = 484 + 784 - 1232 cos 34
b^2 = 1268 - 1232 cos 34
b^2 = 246.6257
b = 15.7 yards
Hope this helps!
With a problem like this, set up a proportion (like when making lemonade from a mix).
is our proportion.
We fill in the the two weights and the 24 grams of medicine in the proportion and solve for the fourth piece not there.
We shorten medicine to M and we solve for M by cross multiplying.
The woman should get 19.2 grams of medicine.