A tank had 20 clownfish and angelfish. 4 clownfish were sold and some angelfish were added to the tank such that the number of angelfish increased by 50%. After that, there were 18 fish in the tank altogether. How many clownfish were there in the tank at first?
How do I create an algebraic expression for this?
You have $c+a=20$.
The clownfish were sold, so c becomes $c-4$.
The angelfish population increases by $50\%$, so $a$ become $1.50a$.
Now, we have $c-4+1.50a=18$.