PLEASE HELP ME!!

Two sides of a right triangle are 8 and 12 in.

a. Find the missing side if these are the lengths of the legs.

b. Find the missing side if these are the lengths of a leg and hypotenuse.