Flip Flops (Logic Gates)

I understand Logic gates, but when it comes to flip flops I get stuck.

You have the NOR & NAND gate, I can work on the X and Y value based on the Data input and the clock value. But how do I work out Q I know what NOT Q will be as it is the opposite of not Q. If you want me to scan in an example circuit I can.

This is really annoying me please help.

PS: IF YOU DONT HAVE ANYTHING TO CONTRIBUTE; PLEASE DON’T SPAM THE THREAD.

Thanks.