For part 1, I created an arc and extrude it to certain height, used the lunchbox panelize function to create panels, then reparametrized the surface and use the image sampler to input my picture, and painted the picture to the surface.

For part 2, I first create a since wave function, and then extrude it to a certain height. Since the lunchbox panelize function does not work very well under sine wave surface, I used the subdivide surface function by defining the domain first and then defining the number of segments in u and v direction. To make the brick size constant, I divide the domain by a constant to get the number of segment values. After panelizing it, I input the image using image sampler and did a dot product of the color vector of the image to get the thickness of brick. Then I paint the image’s color on it.