In a town, there are four houses located at different distances from each other. Following are the distances:
The third house is 60 meters apart from the first house.
The fourth house is 40 meters apart from the second house.
The third house is 10 meters nearer to the fourth house than it is to the second house.
Can you find out the distance between the fourth and the first house?