I don't know mips asm but you don't have to translate 1 to 1; often many assembler statements are only 1 c++ statement. Keep that in mind as you do this .. the whole thing could just be (making it up)
t = a+b + c;
Yea, I figured it would likely be, probably the k = statement as the long final thing. I'm just having trouble figuring out what that is because what I got in the post above doesn't seem to make any sense.