hello
so these angles you can apply the "vertically opposite angles are equal" rule
angle "A" is vertically opposite to 138º so therefore angle "A" is 138º
angle "B" is verticall opposite to 42º so therefore angle "B" is 42º
hope this helped and have good day :)