I'm supposed to identify subordinate clauses in the following questions and then label them as complement, adjunct or relative clauses. I'm lost, how can you tell the difference?

Example: It would be tragic if you realized too late, as so many others do, there's only one thing in the world worth having-and that is youth.

Example: What if this is a dream?

Can anyone help?