Tree height or Ordered pairs and equations