The yellow card, when you win with it, gives you gold, and the green card gives you energy.
The purple card doesn’t give you any resources.
To draw from the deck, you need to spend 1 gold and 1 energy.
The X1, XZ (it’s actually an X2, but I think the sprite should’ve been made differently), and X3 indicate the amount of money/energy you get for defeating the enemy.