Ashley's method is the exact definition of the square root, so it is correct.
Brandon's method is incorrect: dividing by 2 and taking the square root and completely different operations, and it would only work in this special case.
For example, the square root of 9 is 3, but 9/2=4.5.
Similarly, the square root of 16 is 4, but 16/2=8, and so on.
You can try any other couple, it will never work.