what is 6x7 1/7=

and how do you come up with the solution?

Do you mean?:

$$(6*7)(\frac{1}{7})$$

We see that one of the factors is equal to the denominator (bottom) in the fraction. They cancel out, and we get:

(6*7)(1/7) = (6*1)(1/1) = 6