Now you can plug those in and solve for your heat. The sign on your heat represents which direction it flowed. Positive means the internal energy rose, so the heat was transferred to the system, negative means it left the system, so energy left the system by heat if that was the case.
300=q-75
Exothermic and endothermic just indicate whether or not heat is leaving or entering the system. So in this case, since q ends up being 375, which is positive, we know that it's endothermic since it absorbed heat.