For us to answer this problem, we'll first need to know what the relationship between these two rectangles is. I'll assume that these two rectangles are similar - meaning that the ratio of their length to their width is the same.
Rectangle A: Length / width = 10 / 5 = 2
Rectangle B: Length / width = 10 / x = 2
x = width = 5
Hope that helps!