Please help with this area question. I have gotten my answer but I am not too sure about it, and want to make sure my reasoning is correct. Thank you!

Answer:
D
Step-by-step explanation:
Area of triangle= ½ ×base ×height
Since the length of the base and the height of the triangle is equivalent to the length of a side of the square, s,
area of triangle
= ½ ×s ×s
= ½s²
Given that the area of the triangle is 12.5 units²,
½s²= 12.5
Multiply both sides by 2:
s²= 12.5(2)
s²= 25
Square root both sides:
[tex]s = \sqrt{25} [/tex]
s= 5 units
(reject negative value since s > 0)