x-[2/5x+(x-2/5x-36)*2/3+36]=30
x-2/5x-(x-2/5x-36)*2/3-36=30
3/5x-(3/5x-36)*2/3=66
3/5x-2/5x+24=66
1/5x=42
x=210