I'm trying to calculate euclidean algorithm for my question $4x+6y=46$ Now I figure out that my GCD is $(6,4)=2$ and my lcm is $12$ now I don't know how to figure out the other solution by using linear combination for $K$ by using lcm.
A website calculator gives the answer is
$x = -23 + 3k$
and
$y = 23 - 2k$
but how did they came up with this solution ?