If a≠b and the system of equations ax+by+bz=0, bx+ay+bz=0, bx+by+az=0 has a non-trivial solution, find the value of a+2b+25.