The given formula is

Where B is the sales tax.
T is the total amount she paid for hat, and
C is the total cost of the hat .
In this question , we need to solve for T
We start with getting rid of the denominator C, by doing cross multiplication, that is

Now we need to get rid of the C that is in the right side and for that we add C .

It can also be written as

C is the common factor in the right side .

And that'sthe required answer .