If her sister borrowed n shorts, that means Shelly now has n less shorts. Since her amount of shorts is 50, then 50-n must equal how many shorts she has now, meaning 50-n=44. Solving the equation we get n=6. This means that her sister borrowed 6 shorts.