Questions & Answers about Descarta una carta, suma diez y resta dos.
They are affirmative informal commands for tú.
So the sentence is giving instructions to one person in an informal way:
- descarta = discard
- suma = add
- resta = subtract
For regular -ar verbs, the affirmative tú command is formed from the él/ella/usted present form:
- descartar → descarta
- sumar → suma
- restar → resta
Because Spanish often leaves out subject pronouns when they are understood from the verb form or the context.
So instead of saying:
Spanish normally just says:
- Descarta una carta, suma diez y resta dos.
This sounds more natural.