A. Al lado
Al lado means next to but if encima is not an option that would also work because encima means on top of buy al lado works too, it then translates to the lamp is next to the table.
b is adentro and that means in and the lamp cannot be in the table.