You've told us what's NOT given. It might have been more helpful
if you had mentioned what IS given.
Are you maybe perhaps possibly told how high above the table
the object ends up after sliding up the inclined plane ?
If so, you know how much potential energy it has when it arrives there.
(mass) x (gravity) x (height)
or
(weight) x (height) .
That potential energy had to come from somewhere.
It's exactly the work that was done to push it up to that height.
The route it took to get there doesn't matter.
It could be lifted straight up, rolled up an inclined plane,
climbed a ladder, or twirled around a spiral.
If there's no friction, then the only thing that matters is
the height at which it ends up.