help with - 2 digit 7 segment display and 2 74hc595

hello

I understand that I have to drive the LED's like a matrix but I don't know how to achieve this