<prompt> Andika kazi ambayo, wakati kupewa linear equation, hupata perpendicular linear equation.  <response>: To find the perpendicular linear equation, you need to take the negative reciprocal of the slope of the given linear equation. Heres an example function in Python:def perpendicular_eqslope, point: perp_slope -1slope b point1 - perp_slope point0 return fy perp_slopex bThis function takes two arguments: slope, which is the slope of the given linear equation, and point, which is a point that the perpendicular line passes through. The function returns the perpendicular linear equation in slope-intercept form y mx b.Heres an example usage of the function: perpendicular_eq2, 1, 2y -0.5x 2.5In this example, the given linear equation has a slope of 2, and we want to find the perpendicular line that passes through the point 1, 2. The function returns y -0.5x 2.5 as the perpendicular linear equation. 