The title mentions a 4 digit display. You have to multiplex it, first showing only digit 1, then after a few milliseconds, showing only digit 2 and repeating the cycle. To the human eye, it will appears as if both (all) digits are displayed simultaneously.