High school being 6 years instead of 4

Many high schools in Oregon say that students need extra more years because they don’t take there high school year serious and many fails high school witch means they don’t graduate. Oregon now passed the law that 6 years would be enough for the high school students to be able to graduate