Please Solve These ASAP!!! Thank you!!

a) A is what percent of B?
A = 10 km, B = 1 km

b)A is what percent of B?
A = 8 oz, B = 1.5 lb