Length =l
Height = h
Area function = l * h = 924
Perimeter function = 2i + 2h = 122
Divide by 2
I + h = 61.
Plug in I or h for the other variable
I * (61 - I) = 924
61i - i^2 = 924
Factor the function
(-I + 28)(I - 33) = 0
l = 33 as l cannot be negative
61 - 33 = 28
h = 28
Difference between h and l is 33-28=5
I think this question is a part of another question; you can have any ratio that can add up to 114 cm.
Y=300+40g
Y=5000
5000=300+40g
-300
4700=40g/40
117.5=g
About 117 people without going over budget.