Greek Anthology Book XIV: Metrodorus: 146

Arithmetical Epigram of Metrodorus

 * $A$. Give me two and I become twice as much as you.


 * $B$. And if I got the same from you I am four times as much as you.

Solution
Let $a$ be the quantity of $A$.

Let $b$ be the quantity of $B$.

We have:

So:
 * $A$ is $3 \frac 5 7$


 * $B$ is $4 \frac 6 7$.