Answer:
x= 7 pairs, 

Explanation:
Here is the complete question: Julia has $80. She want to purchase a nail paint set for $24 and earrings. She spends the rest of the money on earrings. Each pair of earring cost $8. What is the maximum number of earring she can purchase? Write and solve the inequality. Let x represent the number of pairs of earrings Julia can purchase.
Given: Total amount= $80
 Cost of nail paint= $24
 Each pair of earring cost= $8
 Number of pair of earring is "x".
As we know Julia want a nail paint and earrings, also we know x is the number of earring, which Julia can purchase.
Total cost= 

We can use the formula and values to form an inequality.
∴ 

⇒ 
 (∵ Maximum Julia can spend is $80)
Inequality is 

Now, finding number of pair of earring purchased.
Solving 

subtracting 24 on both side

Cross multiplying both side.
∴ 

∴ Julia can purchase 7 pairs of earring.