If Jack equally distributed rest of the cards among his 6 friends then the number of cards, he distributed, must be divisible by 6.
Given that Jack kept minimum number of cards with him.
So, Maximum number of cards, Jack distributed, must be less than 440 and divisible by 6.
Maximum number less that 440, whose last digit is even and sum of digits is multiple of 3, is 438.
∴ Minimum number of cards Jack kept with him =440−438=2