how to solve:

tan(sin(x))=tan(x)sin(x)?

gabe went to the amusment park with $40 to spend.His ticket cost $26.50.Write and solve an inequality to show how much he might spend on souvenirs and snacks?