We are told that the third digger digs as many metres more than the second digs than the second digs more than the first. Let $d$ be that difference. Then $d = c - b = b - a$. The amount the first digger digs is $a = b - d = 18~\text{m} - d$ and the amount the third digger digs is $c = b + d = 18~\text{m} + d$. Since we know that $7a = 5c$, we obtain \begin{align*} 5c & = 7a\\\ 5(18~\text{m} + d) & = 7(18~\text{m} - d)\\\ 90~\text{m} + 5d & = 126~\text{m} - 7d\\\ 12d & = 36~\text{m}\\\ d & = 3~\text{m} \end{align*} from which we conclude that $a = 18~\text{m} - 3~\text{m} = 15~\text{m}$.