Laurence started with 30 pieces of candy and gave away x pieces. Beatriz started with 70 pieces of candy and gave away five times as many as Laurence did. Beatriz and Laurence now have the same number of pieces of candy. How many pieces of candy did Laurence gave away?
A) 10
B) 100
C) 40
D) 20