No need to be sorry, its rather easy.
Use cat /proc/mtd to find the location of rootfs to which you want to install to.
And then copy the factory image ending with .ubi to /tmp.
Then flash the image like this: ubiformat /dev/mtd9 -y -f /tmp/image-name
Subsitute mtd9 with whatherver the partition id is