how can the work done to an object be the same amout as the potential energy when sitting on an incline plan.. (the object is a marble)

If there is no friction, then the work moving something up an incline goes into increasing PE, joule for joule. If there is no friction, then work=change in stored energy.