If you mean to write "6year" but it’s a misspelling, a possible correct suggestion would be "six-year". This way, you correctly spell out the number "six" and add a hyphen to indicate that it modifies the word "year".