We want: \[ ATT = Y_{22}(1) - Y_{22}(0) \]
Use parallel trends to calculate the counterfactual:
\[ Y_{22}(0) = Y_{12}(0) + Y_{21}(0) - Y_{11}(0) \]
So: \[ \begin{multline} ATT = \mathbb{E}[Y|j=2,t=2] - \mathbb{E}[Y|j=1,t=2] \\ - (\mathbb{E}[Y|j=2,t=1]-\mathbb{E}[Y|j=1,t=1]) \end{multline} \]
Hence the name: difference-in-differences.