for what value of k the expression kyx²+(k+1)x+2will be a prefect square of a linear square

Use standard keyboard keys to type your expresssion.

Use ^ to indicate exponents, e.g. x^2 is "x squared"