Verlay Photo not changing size when saved Swift3

Right now my code is trying to save an UIImage over another UIImage.

Lets call them imageA and imageB.

Now my code is saving imageB directly over imageA and both of the photos are having the same width and height when there actual sizes are very different.

I would like imageB to be saved over imageA, but it be a small section in the right corner of imageA.

Just like the lower third you would see on the news. I have added the code where imageB is being saved over imageA.

                        var image1 = UIImage(named: "image1")
        image1?.accessibilityFrame = CGRect(x: 777, y: 99, width: view.frame.width, height: view.frame.height)

       //CapturedImage is a image view | \/
        var imageBase = capturedImaged.image

        var size = capturedImaged.frame.size

        let areaSize = CGRect(x: 0, y: 0, width: size.width, height: size.height)
        image1!.draw(in: areaSize)

        imageBase!.draw(in: areaSize, blendMode: CGBlendMode.normal, alpha: 0.5)

        var newImage:UIImage = UIGraphicsGetImageFromCurrentImageContext()!
        UIImageWriteToSavedPhotosAlbum(newImage, self, #selector(self.imagex(_:didFinishSavingWithError:contextInfo:)), nil)