Answer:
8 in
Explanation:
Let the length of AB be x in:

Area of the triangular part is calculated as:

Area go the rectangular part is calculated as:

The total area is given as 160 sq in. We equate this to the two areas to solve for x:

Hence, the length of AB is 8 in