HS420561K-32 7-segment display pin out diagram

Pins 1-4 are the ground pins for each of the 7-seg displays.

Pins a-h are the 5V pins for each segment of the display.

To display different numbers on each of the display simultaneously, you need to flash each number in turn at a high enough frequency that the flickering is unnoticeable.