Cum se rezolva aceste 2 probleme?

folosind formula probabilitatii
P=Cazuri favorabile/cazuri posibile