First let's calculate the final price at the electronic store.
499.99*(1+0.05)≈524.99
Now let's calculate the final price online
(549.99+22.95)*(1-0.1)≈515.65
If we compare the two we can see that the online price is cheaper at around 515.65 dollar therefore the second choice is correct.
I hope this helped if you have any questions please ask!