What is the length of b in a right triangle if a=2 and c=24?