Let Bob’s salary be X
He spent X/5 on food plus 2X/3 on clothing hence his total spending was
X/5 + 2X/3 = 3X/15 + 10X/15 = 13X/15
After all this spending he has X - 13X/15 = 2X/15 money left.
He gave half of this amount 1/2 * 2X/15 = X/15 to his wife, and saved the remaining X/15 = $520
Now it is time to solve the equation and find X
X/15 = $520
multiplying both sides by 15 gives us
X = 15 * $520 = $7,800
Bob’s budget (because I cannot resist)
Food $1,560
Clothing $5,200
Wife $520
(presumably to cover his portion of rent and utilities)
Savings $520
Inquiring minds want to know, what does Bob do for living 😀

David W.
"We estimate a person earning $93,600 a year makes more than 88% of workers in the United States." So, "Inquiring minds want to know, what does Bob do for living 😀" produces many alternatives, "(presumably to cover his portion of rent and utilities)" is unsubstantiated and very myopic !! "Doctors (General Practice) ($201,590), Dentists ($155,600), Pharmacists ($128,090), Air Traffic Controllers ($122,990), Lawyers ($122,960), Physician Assistants ($112,260), Actuaries ($108,350), Mathematicians ($105,030) …" Note that 'mathematicians' is IN THIS LIST.11/23/22