Two pairs of shoes at $50 a pair costs $50 x 2 = $<<50*2=100>>100.
The shoes are discounted by 40 percent so she only pays 100 - 40 = <<100-40=60>>60 percent of the original price.
Therefore the two pairs of shoes cost $100 x 0.60 = $<<100*0.60=60>>60.
The dress is discounted by 20 percent so she only pays 100 - 20 = <<100-20=80>>80 percent of the original price.
Therefore the dress costs $100 x 0.80 = $<<100*0.80=80>>80.
In total Daniela spends $60 + $80 = $<<60+80=140>>140 for two pairs of shoes and a dress.
#### 140