take a look at the sentences below and create a general rule in your own words that you think could explain what makes a sentence grammatically correct in Spanish.
since I don’t see a picture of the sentences but I would put if you don’t use the right version of a word (feminine or masculine) then it won’t make it correct.