Two men who were charged in a cocaine trafficking operation that originated in Puerto Rico have been sentenced to prison.