[guided]The goal is to prove submodularity for arbitrary $S, T \subset E$. The inequality we want is
\begin{align*}
f(S) + f(T) \geq f(S \cup T) + f(S \cap T).
\end{align*}
Equivalently, after moving terms, it is enough to prove
\begin{align*}
f(T) - f(S \cap T) \geq f(S \cup T) - f(S).
\end{align*}
This formulation suggests comparing two ways of adding the elements that are in $T$ but not already in $S$.
Define
\begin{align*}
C := S \cap T.
\end{align*}
Since $E$ is finite, the set $T \setminus S$ is finite. Choose an enumeration
\begin{align*}
T \setminus S = \{e_1, \dots, e_m\}
\end{align*}
for some integer $m \geq 0$, with $e_1, \dots, e_m$ distinct. For each $i \in \{0, 1, \dots, m\}$, define the first partial-build set by
\begin{align*}
C_i := C \cup \{e_1, \dots, e_i\}.
\end{align*}
Define the second partial-build set by
\begin{align*}
S_i := S \cup \{e_1, \dots, e_i\},
\end{align*}
where $\{e_1, \dots, e_0\}=\varnothing$. Thus $C_0=C$ and $S_0=S$.
For each $i \in \{1, \dots, m\}$, the set $C_{i-1}$ is contained in $S_{i-1}$ because $C=S \cap T \subset S$. Also, $e_i \notin S_{i-1}$: indeed $e_i \notin S$ because $e_i \in T \setminus S$, and $e_i$ is not one of $e_1, \dots, e_{i-1}$ because the enumeration has distinct elements. Therefore the diminishing returns hypothesis applies to the nested sets $C_{i-1} \subset S_{i-1}$ and the element $e_i \in E \setminus S_{i-1}$, giving
\begin{align*}
\Delta_f(e_i \mid C_{i-1}) \geq \Delta_f(e_i \mid S_{i-1}).
\end{align*}
By the definition of marginal gain, this is exactly
\begin{align*}
f(C_{i-1} \cup \{e_i\}) - f(C_{i-1})
\geq
f(S_{i-1} \cup \{e_i\}) - f(S_{i-1}).
\end{align*}
Because $C_i=C_{i-1}\cup\{e_i\}$ and $S_i=S_{i-1}\cup\{e_i\}$, the inequality becomes
\begin{align*}
f(C_i) - f(C_{i-1}) \geq f(S_i) - f(S_{i-1})
\end{align*}
for every $i \in \{1, \dots, m\}$.[/guided]