I left out these last sentences on grammar.Thank you, Writeacher.

1) If the machine stops, you press this button.
Incorrect: if the machine stops, you will press this button.
2) Complete the following sentences with who, which, whose. Write the relative pronoun in brackets when it can be omitted.
3) The girl (who) I met at the seaside last month is Peter's girlfriend.

1) If the machine stops, you press this button.

Incorrect: if the machine stops, you will press this button. <~~Yes, that's incorrect choice of tense.

2) Complete the following sentences with who, whom, which, or whose. Write the relative pronoun in brackets when it can be omitted.

3) The girl (who) I met at the seaside last month is Peter's girlfriend.
Answer is "whom."

To correct the grammar of the sentences you provided, you can make the following revisions:

1) If the machine stops, you press this button.
Explanation: To correct the sentence, you can remove the word "will" since it is not necessary in this context. The original sentence already expresses a conditional action.

2) Complete the following sentences with who, which, whose. Write the relative pronoun in brackets when it can be omitted.
Explanation: In this exercise, you are required to fill in the blanks with appropriate relative pronouns (who, which, or whose) and indicate when the relative pronoun can be omitted by placing it in brackets.

Example:
- The dog [which] (which) I found on the street was hungry. (The relative pronoun "which" is not necessary and can be omitted.)

3) The girl (who) I met at the seaside last month is Peter's girlfriend.
Explanation: The sentence is already correctly written with the relative pronoun "who." However, if you wanted to indicate that the relative pronoun is optional, you can add it in brackets as follows: The girl [(who)] I met at the seaside last month is Peter's girlfriend.