in a certain year there were 98 female officials in Congress, which is compromise of the house of representatives and the senate if there were 58 more female members of the house of representatives than female senators, find the number of females in each house of Congress

House of Representatives: 156 female members

Senate: 40 female members

The bot's answer does not even remotely make any sense !!!

female senators --- x
female house members --- x+58

x+x+58 = 98
x = 20

so 20 female senators, and 78 female house members.