2014 AIME I Problem 2

An urn contains 4 green balls and 6 blue balls. A second urn contains 16 green balls and N blue balls. A single ball is drawn at random from each urn. The probability that both balls are of the same color is 0.58 . Find N.