Valeo Interview Question

how do you multiply 2 matrix. find shorted path.