Ella is cooking a turkey and a ham for Thanksgiving. It takes 15 minutes per pound to cook a turkey and 23 minutes per pound to cook a ham. Ella is able to cook the turkey and the ham in 5 hours and 18 minutes. If the turkey weighs twice as much as the ham, how much do the turkey and the ham weigh?