Diophantus of Alexandria/Arithmetica/Book 1/Problem 8

Problem

 * What number must be added to $100$ and to $20$ (the same number added to each) so that the sums are in the ratio $3 : 1$?

Solution

 * $20$

Proof
Let $x$ be the number added.

Then we have: