Fix a typo

affects ->
affect

The subject is plural.
Fix a typo

determine ->
determines
         ^

The subject is singular.