Answer:
[tex]Total = \$5d - 2[/tex]
Step-by-step explanation:
Represent Alice with A, her friend with F and you with Y.
From the question, we have:
[tex]A = \$d[/tex]
[tex]F = 2 * A[/tex] --- Twice as much Alice means 2 times Alice's earnings
[tex]Y = F - 2[/tex] --- 2 less than her friend
Required
Determine the total amount
[tex]A = \$d[/tex]
Substitute [tex]\$d[/tex] for A in [tex]F = 2 * A[/tex]
[tex]F = 2 * \$d[/tex]
[tex]F = \$2d[/tex]
Substitute [tex]\$2d[/tex] for F in [tex]Y = F - 2[/tex]
[tex]Y = \$2d - 2[/tex]
The total amount is calculated by adding the earnings of Alice, her friend and you
[tex]Total = A + F + Y[/tex]
[tex]Total = \$d + \$2d + \$2d - 2[/tex]
[tex]Total = \$5d - 2[/tex]
Hence, the total earnings is 5d - 2