Answer is provided in the image attached.
Multiply the whole number by the denominator (8*40=320) then add it to the numerator (320+21=341).
Then you get 341/40
Exact Form:
13/4
Decimal Form:
3.25
Mixed number Form:
3 1/4
Hope this helps?
Desmos is a great resource to help you understand the concept.