This is LaTeX code:

[latex]
D_i = 3 \cdot N_{i-1} + 3 \cdot J_{i-1} + 3 \cdot D_{i-1} = 3 \cdot \left(N_{i-1} + J_{i-1} + D_{i-1}\right)
[/latex]