It is given in the question that
Amaya has d dollars in her wallet. Lucy has $12 less than Amaya in her wallet.
Therefore Lucy have
in her wallet.
And we have to write an expression to show how much money both girls have altogether in simplest form. And for that, we have to add both total amount in there wallet. That is

And here 2 is common. So we will get
