Gus and Joe

Gus and Joe are raising pigs. Gus said that if Joe would give him two pigs they would have an equal number, but if Gus gave Joe two of his, Joe would have twice as many as Gus. How many pigs did they each have?

If Jo give 2 to be equal then he goes down 2 and Gus goes up 2 so Jo has 4 more than Gus. If Gus gives 2 he goes down 2 and Jo goes up 2 so Jo now has 8 more than Gus which is double so he has 16. So before the last pigs were given Gus had 14 and Jo had 10.