The first thing you should do to solve this problem is to know how much was the discount of the sunglasses.
We have then:
44.95 $ ---> 100%
26.97 $ ---> x
Clearing x:
x = (26.97 / 44.95) * 100 = 60%
therefore, the discount is
100-60 = 40%.
Then, the original price of the swimsuit will be
(28.95 $) * (1 + 0.40) = 40.53 $
answer:
the original price of a bathing suit that has a sale price of $ 28.95 is $ 40.53