You correctly found the value of z to be , but later made a mistake to get instead of . You substituted and in the third equation to get . These values do not make the first and second equations true, however.