Can you help me with this exercise about p.m.f

#1
Hi guys, I am a little in trouble with just point B of the exercise. I don't understand how to fing the probability mass function, could you help me pls?