The law of cosines states that, if
is the angle between sides b and c,

So, plugging our values, we have

This is equal to

this is how i calculated for x!
Example 250
word form:
two hundred and fifty
expanded form:
2+5+0
standard form:
250
90 + 50 = 140
140 - 7 = 133
130 - 140