How to do this problem? Please explain this in steps if possible. Thanks!

Answer: 10
Step-by-step explanation:
If two triangles are congruent, then they will have the exact same sides and angle measures.
AB=3x+1
BC=6
DE=2x
Solve for X by making 2x=6 because DE and BC are corresponding sides, indicating they are equal.
x=3, plug that in
AB=10