How many of each type of hole are there on the golf course?

On a 18-hole golf course, there are par-3 holes, par -4 holes, and par-5 holes. A golfer who shoots par on every hole has a total of 74. There are twice as many par-4 holes as there are par-5 holes. How many of each type of hole are there on the golf course?

How many par-3 holes are there?
How many par-4 holes are there?
How many par-5 holes are there?

equation1: 3*N3 + 4*N4 + 5*N5 = 74
equation2: N3 + N4 + N5 = 18
equation3: 2*N5 = N4

insert equation 3 into equations 1 and 2, and simplify.
3*N3 + 4*2*N5 + 5*N5 = 74
N3 + 2*N5 + N5 = 18

3*N3 + 13*N5 = 74
N3 + 3*N5 = 18

now insert the simplified equation 2 into the simplified equation 1, and simplify further.
3*(18-3*N5) + 13*N5 = 74
54 – 9*N5 + 13*N5 = 74
4*N5 = 20
-> N5 = 5

via equation3 -> N4 = 10
via equation2 -> N3 = 3

hence, 3 par-3s, 10 par-4s, and 5 par-5s….

cheers

EDIT: slowfing…. your matrix has a typo
3 4 5 74
0 1 -2 0
1 1 1 18