Abby, First you need to know what are supplementary angles.
If two angles are supplementary, their measurements always add to 180 degrees.
So if angle B is x°, then angle A is 8x° ( Times means you multiply). Set their sum into an equation,
<A + <B = 180° or
8x + x = 180
9x. = 180
x. = 20. So angle angle B is 20° and angle A is 20×8 = 160°