Are you clear what is expected of you? vs. Are you clear(as above)of you to do?

Could you tell me which sentence is correct and why?

“Are you clear what is expected of you?” is a query to check whether the listener understands what they are to do and how they are expected to behave.
The other sentence doesn’t make sense to me.

Just because the answer is I’m expected to…, I think the ‘to do’ in the second question is necessary. But now I’ve got it. Thank you.

For the second question to make sense, it would need to be:
Are you clear of what you are to do?

Hi,

I would say: Are you clear about what you are to do?

Alan

The more you explain, the more I want to master English. Thank you both.