Here is my LaTeX code:
\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amsmath,amsfonts,amssymb}
\begin{document}
\begin{align}
DS &= \frac{100}{l} * \sum_{t=1}^{l}d_t && d_t &= \left\{\begin{array}{ll} 0, & (\hat{y}_t - \hat{y}_{t-1})(y_t - y_{t-1}) \\
1, & sonst\end{array}\right.\\
WDS &=\frac{\sum_{t=1}^{l}d_t|y_t-\hat{y}_t|}{\sum_{t=1}^{l}d_t'|y_t-\hat{y}_t|} && d_t &= \left\{\begin{array}{ll} 0, & (\hat{y}_t - \hat{y}_{t-1})(y_t - y_{t-1}) \\
1, & sonst\end{array}\right. &&\\
d_t' &= \left\{\begin{array}{ll} 0, & (\hat{y}_t - \hat{y}_{t-1})(y_t - y_{t-1}) \\
0, & sonst\end{array}\right.\\
\end{align}
\end{document}
I want an output including 2 equations: In the first row DS, with the condition dt, and in the second row WDS with dt and d't (dt and d't aligned)
This picture shows the output of the code:
The desired form of the output is



