Answer:
6.58-8.36x=3.98x-27.33
Collecting like terms
6.58+27.33=3.98x+8.36x
33.91=12.34x
33.91/12.34=12.34/12.34
x=2.75
6*5=30
45-30=15
he made 15$ in tips.