Solution
a. If conclusion of the first statement is the hypothesis of the second statement, so you can write the following statement.
If the electric power is off, then the food will spoil.
b. Notice that the conclusion of the second statement is the hypothesis of the first statement.
If x > 5, then 2x > 7.