Hello I think I know how to do my homework but I'm not sure.

Answer:
The values of x and y for line PR and QS to be perpendicular are:
[tex]\begin{gathered} x=12 \\ y=23 \end{gathered}[/tex]Explanation:
We want to find the value of x and y for which PR and QS are perpendicular.
For Line PR and line QS to be perpendicular;
[tex]\begin{gathered} \measuredangle PQS=90^0 \\ \measuredangle RQS=90^0 \end{gathered}[/tex]From the figure;
[tex]\measuredangle PQS=(4y-2)^0=90^0[/tex]solving for y;
[tex]\begin{gathered} 4y-2=90 \\ 4y=90+2 \\ 4y=92 \\ y=\frac{92}{4} \\ y=23 \end{gathered}[/tex]Also from the figure;
[tex]\measuredangle RQS=\measuredangle RQT+\measuredangle TQS=90^0[/tex]substituting the values;
[tex]\begin{gathered} \measuredangle RQS=\measuredangle RQT+\measuredangle TQS=90^0 \\ \measuredangle RQS=2x^0+(5x+6)^0=90^0 \\ \end{gathered}[/tex]Solving for x;
[tex]\begin{gathered} 2x+5x+6=90 \\ 7x+6=90 \\ 7x=90-6 \\ 7x=84 \\ \text{divide both sides by 7;} \\ \frac{7x}{7}=\frac{84}{7} \\ x=12 \end{gathered}[/tex]Therefore, the values of x and y for line PR and QS to be perpendicular are:
[tex]\begin{gathered} x=12 \\ y=23 \end{gathered}[/tex]