Alright, lets get started.
Suppose Alice has total money = x
Alice spent
of her money on a backpack.
Means Alice spent money on her bagpack =

So, remaining money she had =

Making common denominator


As per given question, she had $ 42 left means

Cross multiplying



Means total money Alice had = $ 77
She spend
on her bagpack means


$ 35
Means Alice spent $ 35 on her bagpack. : Answer
Hope it will help :)