A tree is growing at a constant rate. It is recorded that at the 7th year since it was planted it was at a height of 25 feet. It was recorded again at the 10th year since it was planted and it was at a height of 31 feet. How much does the tree grow every year?