*mind you this is an absolute value equation, I am going to use the letter "l" for the lines as a visual.*
l500 - 50tl -d = 10