填what引导宾语从句 并在从句中作宾语
With the guidance of school counselor是状语,
the problem student是主语
adjusted 是谓语
what he had thought good habits to the school regulations是宾语从句作宾语.
其中what 是连接代词 引导宾从 并在从句中作had thought的宾语
he是宾从中的主语
had thought是宾从中的谓语
good habits 是宾从中的宾补
to the school regulations是宾从中的定语修饰good habits