EY Interview Question

Double entry for credit sales