Answer:
[tex]Total\ number\ of\ students=54\\\\Students\ went\ on\ field\ trip=42\\\\Per\ students\ cost=\$ 4.5[/tex]
Step-by-step explanation:
[tex]Let\ number\ of\ students=x\\\\Group\ price=\$189\\\\Per\ student\ price=\frac{total\ price}{number\ of\ students}\\\\Per\ student\ price=\frac{189}{x}\\\\When\ 12\ students\ missed\ the\ trip\\\\Number\ of\ remaining\ students=x-12\\\\Now\ per\ students\ price=\frac{189}{x-12}\\\\Given\ that\ when\ 12\ students\ missed\ the\ field\ trip\ per\ student\ cost\ increases\ by\ \$ 1.\\\\\frac{189}{x}+1=\frac{189}{x-12}\\\\Multiply\ both\ sides\ by\ x(x-12)[/tex]
[tex]\frac{189x(x-12)}{x}+x(x-12)=\frac{189x(x-12)}{x-12}\\\\189(x-12)+x^2-12x=189x\\\\189x-189\times 12+x^2-12x=189x\\\\x^2-12-2268=0\\\\x^2-54x+42x-2268=0\\\\x(x-54)+42(x-54)=0\\\\(x-54)(x+42)=0\\\\x=54,-42\\\\Number\ of\ students\ can\ not\ be\ negative\\\\Hence\ total\ number\ of\ students=54\\\\Students\ went\ on\ field\ trip=54-12=42\\\\Per\ students\ cost=\frac{189}{42}=\$ 4.5[/tex]