Yes that is correct except you forgot the +c
--------------------------------------------
This is how I would enter it
\int\frac{(-1+y)^2}{4y}\;dy
now open up the LaTex button on the ribbon and paste it in :)
\(\int\frac{(-1+y)^2}{4y}\;dy\)
----------------
this might seem a bit complicated to start with if you do not know any LaTex but this forum is a great place for you to learn.
fractions are easy and very handy, so to write 2/3 as a fraction it is just
\frac{2}{3}
and now I will past this into the LaTex box
\(\frac{2}{3}\)
.