A family decided to order salads and a pizza. The pizza cost $10 and each salad costs $4. If the bill was $22, how many salads did they order?

Let x = # of salads ordered.