how to find the value of x in a fraction