Roberto ate 3 pieces of a pizza and them felt that he should pay 1/4 of the cost because that's the fraction he ate. How many pieces was the pizza cut into?

let x = number of pieces

1/4 x = 3

You do the calculations.