Man sentenced to prison for killing girlfriend in Mexia