If the gradient of one line is , then any line that's perpendicular to it must have a gradient . Calculate the gradients of both lines, and see if they are related like this!
The answer is 10 pairs of shoes. The first ratio is 10:5. 10 socks per 5 pairs of shoes. You have 20 socks now instead of 10. You just double the ratio. 20 socks per 10 pairs of shoes. 20:10.