I just copied and pasted digits from other cards in the C3 image editor - didn't put in any effort to line things up so they are not perfect... and then gave up at 15 because that was enough to get the point.
I made 4 instances of "Card" on the layout and made them the same as the 4 you choose for your example - so testing would be easy.
if you wanted to randomize it I would make a "CreateCard" function that would create the instance, pick a random card value (from 1 to the highest card number), and then load the instance variables from a master array (2 dimensional, where x is the card number, and then 4 y values).
it gets a little trickier if you want to make sure there are no duplicate cards, or if you want to make sure there is a possible way to play all four cards...
to make sure there are no duplicates, I would make a master deck of cards, and then randomly pick from that deck (deleting the card from that deck so it can't get picked again).