need help on constructors in rectangle  and toString

need help on constructors in rectangle  and toString
the top right corner is what you are trying to do in getBottomLeft - again, you can do this with one line of code:

return new Point(origin.getX() + width, origin.getY() + height);