OK, starting from KB = x2/(.25-x) = 4 x 10-4 (You have the K expression correct), you should solve the quadratic equation in x. This is why we usually assume the concentration of the weak acid or base is >> x, the ionization. (This leads to x = sqrt(KB/.25) or 0.01 M which is 4% ionization)
Multiplying by the denominator in the fraction and rearranging:
x2 + (4x10-4)x - 10-4 = 0
Now use quadratic formula: (-.0004 ±sqrt( (.0004)2 +.0004)) / 2 = .0098 M
Note that the approximation that .25 >> x is still reasonable with K = 4x10-4 (about 2% error). There are few weak acids or bases that solving the full quadratic is necessary.
Take care