Felicia started with 30 pieces of candy and gave away x pieces. Nacho started with 70 pieces of candy and gave away five times as many as Felicia did. Nacho and Felicia now have the same number of pieces of candy. How many pieces of candy did Felicia gave away?