The equation of the line passing through point $ \left(0,~0\right) $, and point $ \left(100,~100\right) $ is:
$$ y = x $$To find equation of the line passing through points $ A(x_A,y_A) $ and $ B(x_B,y_B) $, we use formula:
$$ y - y_A~=~\frac{y_B - y_A}{x_B - x_A}(x-x_A) $$In this example we have:
$$ \begin{aligned} & \left(0,~0\right) \implies x_A = 0 ~~\text{and}~~ y_A = 0 \\[1 em] & \left(100,~100\right) \implies x_B = 100 ~~\text{and}~~ y_B = 100 \end{aligned} $$After substituting into the formula, we obtain:
$$ \begin{aligned} y - y_A~&=~\frac{y_B - y_A}{x_B - x_A}(x - x_A) \\[1 em] y - 0~&=~\frac{ 100 - 0 }{ 100 - 0 } \left( x - 0 \right) \\[1 em]y - 0 ~&=~ 1 \left( x - 0 \right) \\[1 em]y - 0 ~&=~ 1x + 0 \\[1 em]y ~&=~ 1x + 0 \end{aligned} $$