Maria is organizing a pencil case. She has p red pencils and 2p blue pencils. Altogether, she has 30 pencils. How many blue pencils does she have?
Let p represent the number of red pencils. Since the total number of pencils is 30, we can express this as:
$$ p + 2p = 30 $$