The sandwhich increased by 2 dollars. The amount of change must be divided by the original. 7-5 is 2, which means we must divide 2 by 5. 2/5 is .40. Which translates to 40% or 40/100. This means that the price of the sandwhich increased 40%.
Hope this helped you <3!