how do i solve the simultaneous equation y is congruent to 6 mod 8 and y is congruent to 7 mod 10.

if i tried to find the inverses of 8 and 10 and then use CRT, i got that y is congruent to 4 mod 80...

but if i take that gcd(8,10) = 2 then 7 is not divisible by 2 so there is no solution..

im not sure which is right..please help