A=5 and c=2√10, then b=?

Assuming a right triangle,

a^2+b^2 = c^2
25+b^2 = 40
b^2 = 15
b=√15