Notice how the endings of the adjectives change to match the gender of the nouns they modify. Adjectives that do not end in an "o" or "a" do not change regardless of the noun they modify.