find the value of unknown x