Captain has $30 money
Flame has $20 +$5 =$25
difference =30-25=5
Captain has $5 more money
By the chain rule,

It looks like we're given

where <em>a</em> and <em>b</em> are presumably constant.
Recall that


so that

Then we have




where the last reduction follows from dividing through everything by
and simplifying.
I'm not sure at which point you're supposed to evaluate the derivative (22/7*4, as in 88/7? or something else?), so I'll leave that to you.
The answer is 161 degrees
It is a definitely your welcome