Alex used the equation y = 2x + 4 to find his cost in pesos, y, for downloading x songs. The coordinate pair (x, 30) represents the P30 he spent to download x songs. What is the value of x?