How would I draw out the truth table for something with 3 things? (p, q and r). I am only used to doing 2 things (p and q) Here are the two things that I am supposed to check whether or not they are logically equivalent.

P = (p --> q) ^ (q --> r), Q = p --> r

All I need to know is how to set up the truth table, I can do the calculations myself.