PLS urgent dau coroana pls ajutati ma

Rezolvare a:
*x poate fi: 0,1,2
4pe 0, 4 pe 1, 4 pe 2
Scuze, știu numai pentru a.