ProwessProwess is a triggered ability. “Prowess” means “Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.”
If a creature has multiple instances of prowess, each triggers separately. (CR 702.108) (Whenever you
castTo cast a spell is to take it from the zone it’s in (usually the hand), put it on the stack, and pay its costs, so that it will eventually resolve and have its effect. A player may cast a spell if they have priority. See rule 601, “Casting Spells.”
To cast a card is to cast it as a spell. (CR 701.5) a noncreature spell, this creature gets +1/+1 until end of turn.)
AfflictAfflict is a triggered ability. “Afflict N” means “Whenever this creature becomes blocked, defending player loses N life.”
If a creature has multiple instances of afflict, each triggers separately. (CR 702.130) 2 (Whenever this creature becomes blocked, defending player loses 2 life.)