how do you solve this:

-|-5-(-4)|

|-5+4|=|-1|=1

so the negative of that is -1

yea that is what I thought it was. Because -(-1) gives you a positive right?

To solve the expression -|-5-(-4)|, we follow the order of operations (also known as PEMDAS/BODMAS). This acronym stands for Parentheses, Exponents, Multiplication and Division (from left to right), and Addition and Subtraction (from left to right).

1. Start by simplifying the expression inside the inner parentheses, -4.
-|-5-(-4)| = -|-5+4|

2. Next, simplify the subtraction inside the outer parentheses.
-|-5+4| = -|-(5+4)|

3. Now we simplify the addition inside the inner parentheses.
-|-(5+4)| = -|-9|

4. Finally, we evaluate the absolute value of -9 by removing the negative sign (since the absolute value of any number is its distance from zero). The result is 9.
-|-9| = -9

Therefore, the solution to -|-5-(-4)| is -9.