Two surviving shard points recover the line in the tiny field.
Find the slope from kept points
The y change is 1 and the x change is 2 in GF(5).
Δy=1,Δx=2
Divide by multiplying inverse
Division by 2 means multiply by its field inverse 3.
2 inverse 3
The rebuilt slope
The rebuilt slope is 1 times 3, which is 3 modulo 5.
1⋅3≡3(mod5)
The intercept comes back
Using the kept point at x 0 gives rebuilt intercept 2.