Okay, to find all the other prices we have to find trey's money first. We'll represent it with the variable 't', kala's with k, and Carlos's with c.
Let's assign values according to the question:
t = t
k = t+5
c = 4k
t + k + c = 127
Let's input the values:
t+t+5+4(t+5) = 127
2t+5 + 4t + 20 = 127
6t + 25 = 127
6t = 102
t = 17
Now that we know this:
t = 17
k = 17 + 5
c = 4(17+5)
Trey has $17, Kala has $22, and Carlos has $88.