[tex]\mathfrak{\huge{\orange{\underline{\underline{AnSwEr:-}}}}}[/tex]
Actually Welcome to the Concept of the Ratio and Percentage.
Let the total salary be x, so we get as,
20 % of x = $700
hence, x would be,
(20/100)*x = 700
===> x = 70000/20
===> x = $3500
===> hence the total earning of them is $3500