Alex has twice the number of hats that Joey has, plus 2 more. The number

of hats Alex has is also 4 times the difference of the number of hats and 5

that Joey has. Find how hats many each of them has.