p goes to q

not p

therefore not q

I think this is invalid because while not q could be the case q could also be true since p is false. Is this sound logic?

p-->(q-->r)

q--> (p-->r)

therefore (p or q) --> r

I know this is invalid because I have the answer but I do not understand why??? Could someone please explan this? Thank you