The equation at the right has been incorrectly solved, the answer to this is b = -7
A fraction is a numerical quantity that is not a whole number.What you probably need to relearn is equivalent fractions, Least common denominator and how to multiply and divide fractions.
A² + b² = c²
5² + 8² = x²
x² = 25 + 64
x² = 89
x = √89
x = 9.43
An equation for the sentence would be g + 7 = 12, where g is the unknown number of gallons.