Suppose the side of square A is 10in, and the area of square C is 162in2. What is the area of square B if the three squares form a right triangle?