Below is a problem that I did. I do not have faith in my answer. Is my answer right?
Problem:
Consider the equation of a line going through the point $(3,4)$ with a negative slop. It will form a triangle with the y-axis and the x-axis. Find the equation of the that goes through this point and minimizes the area of the triangle.
Answer:
We see a triangle formed by the line and the two axis. The general form of the equation of a line is: $$ y = mx + b$$ In our case, we know that $m$ will be negative. Three points define a triangle. One of those points is $(0,0)$. Another point is $(b,0)$. Now we need to find the point where the line crosses the x-axis. We have: \begin{align*} mx + b &= 0 \\ mx &= -b \\ x &= -\dfrac{b}{m} \end{align*} Hence the third point is $\left( -\dfrac{b}{m}, 0 \right) $. Hence the length of the base is $ \dfrac{b}{x} $. The height of the triangle is $b$. Let $A$ denote the area of the triangle. \begin{align*} A &= \left( \dfrac{1}{2} \right) \left( -\dfrac{b}{m} \right) b \\ A &= - \dfrac{b^2}{m} \\ 4 &= 3m + b \\ b &= 4 - 3m \\ A &= - \dfrac{(4-3m)^2}{m} = - \dfrac{(3m-4)^2}{m} \\ A &= \dfrac{ -9m^2 + 24m - 16}{m} \\ A &= -9m - 24 - 16m^{-1} \\ \end{align*} Now we differentiate $A$ to find a minimal value for $m$. \begin{align*} A' &= -9 + 16m^{-2} \\ -9 + 16m^{-2} &= 0 \\ \dfrac{16}{m^2} &= 9 \\ \dfrac{4}{m} &= -3 \\ m &= -\dfrac{3}{4} \\ b &= 4 - 3\left( -\dfrac{3}{4} \right) = 4 + \dfrac{9}{4} \\ b &= \dfrac{25}{4} \end{align*} Hence the answer is: $$ y= -\left( \dfrac{3}{4} \right) x + \dfrac{25}{4} $$
Here is a corrected / updated solution. However, the answer did not change. Is my revised solution correct?
Now, I see a triangle formed by the line and the two axis. The general form of the equation of a line is: $$ y = mx + b$$ In our case, we know that $m$ will be negative. Three points define a triangle. One of those points is $(0,0)$. Another point is $(b,0)$. Now we need to find the point where the line crosses the x-axis. We have: \begin{align*} mx + b &= 0 \\ mx &= -b \\ x &= -\dfrac{b}{m} \end{align*} Hence the third point is $\left( -\dfrac{b}{m}, 0 \right) $. Hence the length of the base is $ \dfrac{b}{x} $. The height of the triangle is $b$. Let $A$ denote the area of the triangle. \begin{align*} A &= \left( \dfrac{1}{2} \right) \left( -\dfrac{b}{m} \right) b \\ A &= - \dfrac{b^2}{2m} \\ 4 &= 3m + b \\ b &= 4 - 3m \\ A &= - \dfrac{(4-3m)^2}{2m} = - \dfrac{(3m-4)^2}{2m} \\ A &= \dfrac{ -9m^2 + 24m - 16}{2m} \\ A &= \dfrac{-9m - 24 - 16m^{-1}}{2} \\ \end{align*} Now we differentiate $A$ to find a minimal value for $m$. \begin{align*} A' &= \dfrac{-9 + 16m^{-2}}{2} \\ \dfrac{-9 + 16m^{-2}}{2} &= 0 \\ -9 + 16m^{-2} &= 0 \\ \dfrac{16}{m^2} &= 9 \\ \dfrac{4}{m} &= -3 \\ m &= -\dfrac{3}{4} \\ b &= 4 - 3\left( -\dfrac{3}{4} \right) = 4 + \dfrac{9}{4} \\ b &= \dfrac{25}{4} \end{align*} Hence the answer is: $$ y= -\left( \dfrac{3}{4} \right) x + \dfrac{25}{4} $$
Here is an updated solution. Is is it now correct?
Now, I see a triangle formed by the line and the two axis. The general form of the equation of a line is: $$ y = mx + b$$ In our case, we know that $m$ will be negative. Three points define a triangle. One of those points is $(0,0)$. Another point is $(b,0)$. Now we need to find the point where the line crosses the x-axis. We have: \begin{align*} mx + b &= 0 \\ mx &= -b \\ x &= -\dfrac{b}{m} \end{align*} Hence the third point is $\left( -\dfrac{b}{m}, 0 \right) $. Hence the length of the base is $ \dfrac{b}{x} $. The height of the triangle is $b$. Let $A$ denote the area of the triangle. \begin{align*} A &= \left( \dfrac{1}{2} \right) \left( -\dfrac{b}{m} \right) b \\ A &= - \dfrac{b^2}{2m} \\ 4 &= 3m + b \\ b &= 4 - 3m \\ A &= - \dfrac{(4-3m)^2}{2m} = - \dfrac{(3m-4)^2}{2m} \\ A &= \dfrac{ -9m^2 + 24m - 16}{2m} \\ A &= \dfrac{-9m - 24 - 16m^{-1}}{2} \\ \end{align*} Now we differentiate $A$ to find a minimal value for $m$. \begin{align*} A' &= \dfrac{-9 + 16m^{-2}}{2} \\ \dfrac{-9 + 16m^{-2}}{2} &= 0 \\ -9 + 16m^{-2} &= 0 \\ \dfrac{16}{m^{-2}} &= 9 \\ 16 = 9m^2 \\ -4 &= 3m \\ m &= \dfrac{-4}{3} \\ b &= 4 - 3 \left( -\dfrac{4}{3} \right) = 4 + 4 \\ b &= 8 \\ \end{align*} Hence the answer is: $$ y= -\left( \dfrac{4}{3} \right) x + 8 $$

Two (small) mistakes:
(1) You dropped the factor of $\tfrac12$ in your area formula, so you're actually minimizing the area of the rectangle with this diagonal. This shouldn't affect your final answer though, as the minimum will occur at the same slope!
(2) When solving for $m$, you flipped the fraction. The critical point is actually at $m = -\tfrac43$. This affects the final equation of the line, of course. Full solution is hidden below.