I wrote the steps down, hopefully you understand them and the answer is on the lower right corner.
Let x be a variable.
Using the ratio and the given number of 117, we can create the following formula:
1x + 3x + 9x = 117, where 3x is the cups of onion
Simplify this equation.
13x = 117
Divide both sides by 13
x = 9
We want to solve for 3x, so multiply both sides by 3
3x = 27
As I started earlier, 3x is how many cups of onions is needed; thus, 27 is our answer. Hope this helps! :)
F(q)=0
so, q^2 - 125 = 0
(q)^2 - (5)^2 = 0
(q+5) (q-5) = 0
q = 5, -5
Answer is 14.14
Reason
Using Pythagorean theory
a^2 + b^2 = c^2
The two legs are a and b, the longest diagonal opposite the right angle is c
10^2 + 10^2 = c^2
200 = c^2
Take square root of both sides
14.14 = c