Assuming the randomly throw is equally distributed along the rectangle area, the probability of hitting the square is the fraction of the area of the square with respect to the total are of the rectangle.
The area of the square is the square of its side:

And the area of the rectangle is the product of its lengths by its height:

So, the probability is the area of the square divided by the area of the rectangle:

The probability if 9%.