You'll find details on this point (and precise references) in Cajori's History of mathematical notations, ¶340. He credits Descartes in his La Géometrie for the introduction of x, y and z (and more generally, usefully and interestingly, for the use of the first letters of the alphabet for known quantities and the last letters for the unknown quantities)