Click the added layer, and you can find many options to edit this image/video. In the timeline, drag the layer track's border to the left or right, and you can adjust its duration freely.