That part does get fairly confusing to work out.
The adjective is just going to match the noun, so whatever the noun is doing determines the adjective's endings.
So, yes, they are different,...