You have
$$
I[f]
= \sum_{\Omega=\Omega_1,\Omega_2} \int_\Omega \mathcal L(\mathbf{x}, f(\mathbf{x}), \partial_i f(\mathbf{x}), \partial_j \partial_k f(\mathbf{x})) \, d\mathbf{x}.
$$
Doing a variation of $f$ we get
$$
\frac{d}{d\lambda} I[f+\lambda\eta]
= \frac{d}{d\lambda} \sum_{\Omega=\Omega_1,\Omega_2} \int_\Omega \mathcal L(\mathbf{x}, f+\lambda\eta, \partial_i (f+\lambda\eta), \partial_j \partial_k (f+\lambda\eta)) \, d\mathbf{x} \\
= \frac{d}{d\lambda} \sum_{\Omega=\Omega_1,\Omega_2} \int_\Omega \mathcal L(\mathbf{x}, f+\lambda\eta, \partial_i f + \lambda\,\partial_i\eta, \partial_j\partial_k f +\lambda\,\partial_j\partial_k\eta)) \, d\mathbf{x} \\
= \sum_{\Omega=\Omega_1,\Omega_2} \int_\Omega \frac{d}{d\lambda} \mathcal L(\mathbf{x}, f+\lambda\,\eta, \partial_i f + \lambda\,\partial_i\eta, \partial_j \partial_k f +\lambda\,\partial_j\partial_k\eta) \, d\mathbf{x} \\
= \sum_{\Omega=\Omega_1,\Omega_2} \int_\Omega \left( \frac{\partial \mathcal L}{\partial f} \eta + \frac{\partial \mathcal L}{\partial(\partial_i f)} \partial_i\eta + \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \partial_j \partial_k \eta \right) d\mathbf{x}
$$
Rewriting the second term using integration by parts:
$$
\int_\Omega \frac{\partial \mathcal L}{\partial(\partial_i f)} \partial_i\eta \, d\mathbf{x}
= \int_\Omega \partial_i \left( \frac{\partial \mathcal L}{\partial(\partial_i f)} \eta \right) d\mathbf{x}
- \int_\Omega \partial_i \left( \frac{\partial \mathcal L}{\partial(\partial_i f)} \right) \eta \, d\mathbf{x} \\
= \oint_{\partial\Omega} \frac{\partial \mathcal L}{\partial(\partial_i f)} \eta \, n_i d{S}
- \int_\Omega \partial_i \left( \frac{\partial \mathcal L}{\partial(\partial_i f)} \right) \eta \, d\mathbf{x}
$$
Rewriting the third term using integration by parts:
$$
\int_\Omega \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \partial_j \partial_k \eta \, d\mathbf{x}
= \int_\Omega \partial_j \left( \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \partial_k \eta \right) d\mathbf{x}
- \int_\Omega \partial_j \left( \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \right) \partial_k \eta \, d\mathbf{x} \\
= \int_\Omega \partial_j \left( \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \partial_k \eta \right) d\mathbf{x}
- \int_\Omega \partial_k \left( \partial_j \left( \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \right) \eta \right) \, d\mathbf{x}
+ \int_\Omega \partial_k \partial_j \left( \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \right) \eta \, d\mathbf{x}
\\
= \oint_{\partial\Omega} \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \partial_k \eta \, n_j d{S}
- \oint_{\partial\Omega} \partial_j \left( \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \right) \eta \, n_k d{S}
+ \int_\Omega \partial_k \partial_j \left( \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \right) \eta \, d\mathbf{x}
\\
$$
Thus we get
$$
\frac{d}{d\lambda} I[f+\lambda\eta]
= \sum_{\Omega=\Omega_1,\Omega_2}
\int_\Omega \left( \frac{\partial \mathcal L}{\partial f} - \partial_i \left( \frac{\partial \mathcal L}{\partial (\partial_i f)} \right) + \partial_k \partial_j \left( \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \right) \right) \eta \, d\mathbf{x} \\
+ \sum_{\Omega=\Omega_1,\Omega_2} \left(
\oint_{\partial\Omega} \frac{\partial \mathcal L}{\partial(\partial_i f)} \eta \, n_i d{S}
+ \oint_{\partial\Omega} \left( \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \partial_k \eta \right) n_j d{S}
- \oint_{\partial\Omega} \partial_j \left( \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \right) \eta \, n_k d{S}
\right) \\
= \sum_{\Omega=\Omega_1,\Omega_2}
\int_\Omega \left( \frac{\partial \mathcal L}{\partial f} - \partial_i \left( \frac{\partial \mathcal L}{\partial (\partial_i f)} \right) + \partial_k \partial_j \left( \frac{\partial \mathcal L}{\partial(\partial_j \partial_k f)} \right) \right) \eta \, d\mathbf{x} \\
+ \sum_{\Omega=\Omega_1,\Omega_2}
\oint_{\partial\Omega} \left(
\frac{\partial \mathcal L}{\partial(\partial_i f)} \eta
+ \frac{\partial \mathcal L}{\partial(\partial_i \partial_k f)} \partial_k \eta
- \partial_j \left( \frac{\partial \mathcal L}{\partial(\partial_j \partial_i f)} \right) \eta \right) \, n_i d{S}
$$
Can you extract the equation and boundary conditions from this?