WHAT PERCENTAGE OF $40 IS $8?

8/40 =5% Am I on right track?

No.

Divide the numerator by the denominator.