If you get a 4.0 for the next two semesters (your junior year), you'll add 4.0 * 2 = 8 grade points to your total.
Your new total grade points would be 17.4 + 8 = 25.4.
Your new GPA would be 25.4 / 8 = 3.175.
Therefore, your GPA would go up by approximately 0.275 points, from 2.9 to 3.175.