Answer:
15
Step-by-step explanation:
Let's say that the length of the vertical line is y. Then we can assume that 20+x=7y, 25+x=8y. Subtract the second with the first and you get y=5. Substitute y=5 into 20+x=7y, 20+x=35, therefore x=15