Use simplification in the following form:

AB
B