There are a total of 10 x 30 = <<10*30=300>>300 pieces of oranges in a truck.
A total of 50 + 30 = <<50+30=80>>80 pieces of oranges will not be sold.
Thus, 300 - 80 = <<300-80=220>>220 pieces of oranges will be sold.
#### 220