The length of the side of square A is 50% of the length of the square side expressing the area of the shaded area of square A as a percentage of the area of square B.
Let's call the side of square b x. Therefore, the side of square a is 0.5x, making its area 0.25x² and the area of square b is x². This means that the percentage is 25%.