OP, I'm not going to sage, and I'm going to give you an honest opinion. The rest of the troll faggots can dis me or whatever, but I really don't care.
This is speculation on my part just so ya know.
I think your bf is genuinely just trying to help some dumb girl. There is a possibility that she may be physically attracted to him and is using the excuse of asking about homework so she can talk to him, and he's just trying to be nice. I don't know what ur man is normally like, so I'm making an assumption with that.
I get this a lot, and it drives my girl up the wall. If he's like me and isn't a player type, he probably doesn't even realize it. Hell, it might even be a group assignment of sorts, and group members all have each others numbers for communication.
You'll notice his message is all business, there's no flirting or smiley emoticons or nothing. And he didn't respond to this other person's flirty text. You'll also notice the other person's second text was a normal response to him, 8 minutes after he didn't take the flirty bait.
Tldr, I really don't think you have anything to worry about. I don't know the details of your relationship with your bf, but I speculate that he may end up using this as a test to see if you trust him or not.