Answer:
The number of hours of walking dogs is 2 hours
The total amount of money earn is $26
Explanation:
Given as :
The Amount of money save by Sofia = $10
The money earn by Sofia at the rate of per hour walking dog = $5 per hour
The Amount of money save by Macros = $4
The money earn by Macros at the rate of per hour walking dog = $8 per hour
Let the number of hours of walking dogs = x hours
And Let the total amount of money earn = $A
Now, According to question
The Amount of money save by Sofia + The money earn by Sofia at the rate of per hour walking dog = The Amount of money save by Macros + The money earn by Macros at the rate of per hour walking dog
So,
$10 + $5 × x = $4 + $8 × x
Or, $10 - $ 4 = $8 × x - $5 × x
Or, $6 = $3 × x
∴ x =

i.e x = 2
So, the number of hours of walking dogs = x = 2 hours
Hence, The number of hours of walking dogs is 2 hours
Now, Again
The Total amount of money earn = Amount of money earn by Sophie + Amount of money earn by Macros
i.e $A = $8 × x + $5 × x
or, A = $8 × 2 + $5 × 2
or, A = $16 + $10
or, A = $26
So,The total amount of money earn = A = $26
Hence, The total amount of money earn is $26 Answer