[subject] + 要 + [verb] + 了 [subject] + 要 + [adjective] + 了
要…了 says something is about to happen. yāo要 goes before the verb or adjective, and le了 closes the sentence.
A question adds 吗 at the end.
Without 了, 要 is just "will" or "want to". 我要走 is a statement of intent; 我要走了 says you are leaving now.
要…了 can take a time phrase, placed before 要. jiù yào就要…le了 does the same and adds that the time is sooner than you might think.