determine whether the following formula is a probability distribution

P(X)=X/20 for X=1,4,7
AND
P(X)=X+0.1 for X=0.24,0.26,0.15