Find a value using two-variable equations