The first item is fitted to the RHS of the oil pan, there is a distance piece that keeps the bracket away from the oil pan, the plastic connecting block fitted is the wrong type it should have three connections fitted to it not two, you can see the outline when it had the original block fitted.
The second item is bolted to the ally: part of the sump and is used to hold the battery cable across the front of the engine, you should have two of these.