The money in your wallet before you pay is 20 dollars
Solution:
At farmers market you buy 4 pounds of tomatoes for three dollars a pound
Cost of 1 pound of tomato = 3 dollars
Therefore,
Cost of 4 pound of tomato = 4 x 3 = 12 dollars
Cost of 4 pound of tomato = 12 dollars
At farmers market you buy 2 pounds of sweet potatoes for two dollars a pound
Cost of 1 pound of sweet potatoes = 2 dollars
Therefore,
Cost of 2 pound of sweet potatoes = 2 x 2 = 4 dollars
Cost of 2 pound of sweet potatoes = 4 dollars
The combined cost spend at market is:
cost spend at market = Cost of 4 pound of tomato + Cost of 2 pound of sweet potatoes
cost spend at market = 12 + 4 = 16 dollars
You spent 80% of the money in your wallet
Therefore, 80% of the money in your wallet is equal to 16 dollars
Let "x" be the money in your wallet
Then, we get
80 % of x = 16

Thus money in your wallet before you pay is 20 dollars