In answer to your question, the first thing you need to know is the difference in function of an adjective and an adverb.
An adjective describes someone or something.
An adverb describes how something is/was done.
Given those definitions, can you work out which is which in your two examples?
- For Teachers