A child sex offender has been jailed for the abuse of two girls, one of whom he plied with cannabis to gain her compliance.