Answer:
x=w/(56+r)
Step-by-step explanation:
19x+rx=-37x+w
19x+rx+37x=w
x(19+37+r)=w
x(56+r)=w
if anything is unclear, ask freely.