i have an exam tommorrow on logic and i dont understand the truth tables at ALL!

i know how to set one up, i just dont understand how to find out if it is True or False at the end. like this for example:

p q [(p→q)^┐q]→┐p

T T T

T F T

F T T

F F T

and

p q [(p→q)^q]→p

T T T

T F T

F T F

F F

If p is F and q is T, why is it T for the first one and F for the second?? im just completely lost.