I think you’re supposed to count up the units and set them equal to each other. Therefore, the answer should be:
8x = 16
If they ask you to solve for x, the answer to that should be 2, because 16/8 = 2. I don’t think they’re asking for that, though.
As always, hope this is accurate & helpful!